#ifndef SPRITE_H_INCLUDED
#define SPRITE_H_INCLUDED

#include "Vec2.h"

class SpriteSheet;
class Screen;

class Sprite
{
public:
  Sprite(SpriteSheet*);

  void Update();
  void Draw();

  void SetVel(Vec2f vel) { m_vel = vel; }

private:
  SpriteSheet* m_spriteSheet;

  Vec2f m_pos;
  Vec2f m_vel;
  Vec2f m_acc;

  int m_cellNum;
  float m_elapsedTime;
};

#endif
